/**
 * Copyright© 2003-2019 浙江汇信科技有限公司, All Rights Reserved. <br/>
 */
package com.icinfo.cloud.provider.punish.ucaseassist.assistmain.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import javax.persistence.*;

/**
 * 描述: 案件副流程主表 case_assist_main_info 对应的实体类.<br>
 * WARNING：不是表中字段的属性必须加@Transient注解
 * @author framework generator
 * @date 2022年08月18日
 */
@Data
@Table(name = "upcase.case_assist_main_info")
public class CaseAssistMainInfo implements Serializable {
    /**
     * 主键id
     */
    @Id
    @Column(name = "id")
    private String id;

    /**
     * 案件id
     */
    @Column(name = "case_id")
    private String caseId;

    /**
     * 案件副流程名称
     */
    @Column(name = "case_assist_flow_name")
    private String caseAssistFlowName;

    /**
     * 案件副流程程编码
     */
    @Column(name = "case_assist_flow_code")
    private String caseAssistFlowCode;

    /**
     * 创建人id
     */
    @Column(name = "create_user_id")
    private String createUserId;

    /**
     * 创建人姓名
     */
    @Column(name = "create_user_name")
    private String createUserName;

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime createTime;

    /**
     * 副流程状态
     */
    @Column(name = "case_assist_flow_status")
    private String caseAssistFlowStatus;

    /**
     * 案件流版本
     */
    @Column(name = "case_flow_version")
    private String caseFlowVersion;

    /**
     * 案件流编码
     */
    @Column(name = "case_flow_code")
    private String caseFlowCode;

    /**
     * 案件副流程当前环节名称
     */
    @Column(name = "case_assist_current_link_name")
    private String caseAssistCurrentLinkName;

    /**
     * 案件副流程当前环节编码
     */
    @Column(name = "case_assist_current_link_code")
    private String caseAssistCurrentLinkCode;

    private static final long serialVersionUID = 1L;
}